package com.baizhi.wd.servlet;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class TestC extends HttpServlet {
	public void service(HttpServletRequest request,HttpServletResponse response){
		try{
		//1获取client的请求数据
		request.setCharacterEncoding("utf-8");
		//2 调用业务类的方法，检查帐号
		//3 检查结果
		response.sendRedirect("/servlet_day2/per/testd?name=haha");
		}catch(Exception e){e.printStackTrace();}
	}
}
